#!/usr/bin/env python
# encoding: utf-8
'''
@author: zhaowenpeng
@contact: winston@peipeiyun.com
@software: garner
@file: 0717.py
@time: 2020/7/17 3:42 下午
@desc:
'''


from core.migrations import (
    MigrationModel,
    db_manager,
)



if __name__ == '__main__':
    '''
    ['__call__', '__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__enter__', '__eq__', 
    '__exit__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__init_subclass__', 
    '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__',
     '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_build_on_conflict_update', '_can_reuse', '_close',
      '_connect', '_connections', '_extract_server_version', '_field_types', '_in_use', '_initialize_connection', 
      '_is_closed', '_is_stale', '_lock', '_max_connections', '_operations', '_set_server_version', '_stale_timeout', '_state', 
      '_wait_timeout', 'atomic', 'autoconnect', 'autorollback', 'batch_commit', 'begin', 'bind', 'bind_ctx', 'close', 
      'close_all', 'close_idle', 'close_stale', 'commit', 'commit_select', 'compound_select_parentheses', 'conflict_statement',
       'conflict_update', 'conn_key', 'connect', 'connect_params', 'connection', 'connection_context', 'context_class', 
       'create_tables', 'cursor', 'database', 'default_values_insert', 'deferred', 'drop_tables', 'execute', 'execute_sql',
        'extract_date', 'field_types', 'for_update', 'from_timestamp', 'get_binary_type', 'get_columns', 'get_context_options', 
        'get_foreign_keys', 'get_indexes', 'get_noop_select', 'get_primary_keys', 'get_sql_context', 'get_tables', 'get_views',
         'in_transaction', 'index_schema_prefix', 'init', 'is_closed', 'is_connection_usable', 'last_insert_id', 'limit_max',
          'manual_close', 'manual_commit', 'nulls_ordering', 'operations', 'param', 'pop_transaction', 'push_transaction', 
          'quote', 'random', 'returning_clause', 'rollback', 'rows_affected', 'safe_create_index', 'safe_drop_index', 
          'savepoint', 'sequence_exists', 'sequences', 'server_version', 'session_commit', 'session_rollback', 'session_start',
           'sql_mode', 'table_exists', 'thread_safe', 'to_timestamp', 'top_transaction', 'transaction', 'transaction_depth', 
           'truncate_date', 'truncate_table']

    '''
    print(dir(db_manager))
    # print(db_manager.db_value())